package com.leyou;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @create: 2019-07-09 16:20
 **/
@MapperScan("com.leyou.item.mapper") //开启扫描mapper接口包，注意是通用mapper依赖的引入
@SpringBootApplication
@EnableDiscoveryClient //eureka注册及发现
public class LeyouItemApplication {

    public static void main(String[] args) {
        SpringApplication.run(LeyouItemApplication.class, args);
    }
}
